#!/usr/bin/env python
# -*- coding: UTF-8 -*-


'''
    Connections:
       提供 Connection 集合操作
'''
class Connections(object):
    def __init__(self):
        self.connections = []


    def add_connection(self,conn):
        self.connections.append(conn)


    def dump(self):
        for conn in self.connections:
            print conn